import request from '@/utils/request'

export function getdata(currenPage, pageSize, year) {
  return request({
    url: `/teachers/theses?page=${currenPage}&limit=${pageSize}`,
    method: 'get',
    params: {
      year
    }
  })
}
export function getThesesById(id) {
  return request({
    url: `/theses/${id}`,
    method: 'get'
  })
}
